import axios from '@/utils/request'
const base = '/movieserver'

export function saveHolidayConfig(date, type) {
  return axios({
    url: `${base}/holiday?date=${date}&type=${type}`,
    method: 'post'
  })
}

export function loadHolidayConfig(date) {
  return axios({
    url: `${base}/holiday?date=${date}`,
    method: 'get'
  })
}
